package _thread_lock._threadpool._denypolicy;

import _thread_lock._threadpool.ThreadPool;

/**
 * @Author: huangya
 * @Date: 2020/10/14
 * @Description:
 */
public class DiscardDenyPolicy implements DenyPolicy {

    /**
     * 直接丢弃Runnable任务
     * @param runnable
     * @param threadPool
     */
    @Override
    public void reject(Runnable runnable, ThreadPool threadPool) {
        //do nothing
    }
}
